package com.zb.sinocare.common.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 用户登录表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserLogin implements Serializable {

    private static final long serialVersionUID = 2805857090274526642L;
    //用户ID
    private Integer userid;
    //用户电话
    private String phone;
    //用户密码
    private String password;
    //令牌
    private String name;
    //用户姓名
    private String customerCode;
    //客户编号
    private String token;
    //是否是管理员
    private Integer isAdmin;
    //创建时间
    private Date createTime;
    //更新时间
    private Date updateTime;
    //职位
    private Integer positionId;
    //状态
    private Integer status;
    //尝试登录时间
    private Integer tryLoginTime;
    //锁定时间
    private Date pmdLockDay;
    //用户和药房的多对多
    private List<DrugStore> drugStores;
    //用户和检测者的一对多
    private Patient patients;
    //会员编号
    private String memberNumber;
}
